/**
 * Copyright ©2012-2018 HopeHaiyang Corporation, All Rights Reserved
 * http://www.wuhanhope.com
 */
package hope.platform.data.event;

import hope.platform.data.domain.Warning;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * class info
 *
 * @author hujia
 *         Create at 2018/7/24 11:51
 */

public class WarningEvent extends ApplicationEvent {

    @Setter
    @Getter
    private Warning warning;

    public WarningEvent(Object source, Warning warning) {
        super(source);
        this.warning = warning;
    }
}
